package leesoft.gocrm.models.testcases;

import junit.framework.TestCase;
import leesoft.gocrm.models.handler.SearchContact;

public class SearchContactTest extends TestCase {
	protected void setUp() throws Exception {
		super.setUp();
	}

	protected void tearDown() throws Exception {
		super.tearDown();
	}

	public void testSearchContactByKeyword() {
		SearchContact searchContact=new SearchContact(); 
		this.assertEquals(false, searchContact.searchContactByKeyword("Jesse").isEmpty());
		this.assertEquals(false, searchContact.searchContactByKeyword("jesse").isEmpty());
		this.assertTrue(searchContact.searchContactByKeyword("Jessar").isEmpty());
	}

}
